/**
 * All rights reserved by www.xandroid.cn
 */
package xfok.net.xandroid.examples;

import xfok.net.xandroid.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * @author YangHua
 *  转载请注明出处：http://www.xfok.net/android/200911/7.html
 * 2009-11-6 www.xandroid.cn 
 */
public class Forward extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.forward);
        Button forwardButton = (Button)findViewById(R.id.forward);
        forwardButton.setOnClickListener(mGoListener);
    }
    private OnClickListener mGoListener = new OnClickListener()
    {
        public void onClick(View v){
            Intent intent = new Intent();
            intent.setClass(Forward.this, ForwardTarget.class);
            startActivity(intent);
            finish();
        }
    };
}
